package com.syh.jn.scm.domain.supplier.repository.base.downstream;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.supplier.entity.base.downstream.Downstream;
import com.syh.jn.scm.domain.supplier.entity.base.downstream.DownstreamAccount;
import com.syh.jn.scm.dto.supplier.base.downstream.DownstreamAddressVo;

import java.util.List;

public interface DownstreamAccountRepository extends AggregateRepository<DownstreamAccount, Long> {

    /**
     * 添加账号
     *
     * @param account
     * @return
     */
    public Boolean addAccount(DownstreamAccount account);

}
